/-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\	x1cygnus@wanadoo.fr
| _______                               |	ICQ 38240788
|  ___    |_______________   _______ _  |
|  __  /| |_  __ \  __ \_ | / /  __ `/  |
|  _  ___ |  / / / /_/ /_ |/ // /_/ /   |
|  /_/  |_/_/ /_/\____/_____/ \__,_/    |
|                                       |
\-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-/
; 1999 Cygnus X-1 Technologies
; X-1 Anova Shell Version 01.03.03

	Technical Information
	-=-=-=-=-=-=-=-=-=-=-

<Anova Header>
-=-=-=--=-=-=-

	Anova uses the same header as Sos, with one difference. If instead of
a jump over 4 bytes (1804), there is a jump over 6 bytes Anova will consider
the 2 extra bytes as being a pointer to an 5*5 icon. Thus Anova programs are
totally compatible with Sos. Here a schema to illustrate:

	XOR	A		; One byte Instruction, Meaningless
	JR	Over		; Relative Jump
	.DW	0000h		; Libaries If Any
	.DW	Description
	.DW	Icon
Over:
; Code Here
	RET

Description:
	.DB	"Program Description", 00h
Icon:
	.DB	01110000b
	.DB	10001000b
	.DB	10101000b
	.DB	10001000b
	.DB	01110000b


<Level Loader>
-=-=-=--=-=-=-

	Anova uses another header format, this time comptaible with patched 
version of Sos. The header is very like the other one except it's for 
special puposes. It's structure is the following:

.ORG	9327h

	XOR	A
	JR	C, Over
	.DW	Owner - 9327h
	.DW	Description
	.DW	Icon
Over:
; Level Data Here

Description:
	.DB	"Level 3 For My Game", 00h
Owner:
	.DB	"MYGAME", 00h
Icon:
	.DB	10001000b
	.DB	11011000b
	.DB	10101000b
	.DB	10001000b
	.DB	10001000b

	Such files will show up under Anova and if executed, Anova will
search the coresponding program to the level (in this case prgmMYGAME) load
the program and load a copy of the level just after. The program itself
doesn't need any header. In such a way, you no longer need to implement a
level selection routine in each game. Anova doesn't supress the header so
you'll have to use a equation to directly access the level, e.g.:

HeaderSize	EQU		01h + 02h + 06h
#Define		Level		EndOfFile + HeaderSize

.ORG	9327h
; Program Code...

EndOfFile:
; Level Will Be Entirely Loaded Here


1999 Cygnus X-1 Technologies
x1cygnus@wanadoo.fr - ICQ 38240788